package com.appjishu.web.util.pubsub.model;

import java.io.Serializable;

/**
 * @author edmond
 * @date 2020/03/25
 */
public class MqMessage implements Serializable {
	private static final long serialVersionUID = 1L;
	private String key;
	private String data;
	
	public MqMessage() {
		super();
	}
	public MqMessage(String data) {
		super();
		this.data = data;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getData() {
		return data;
	}
	public void setData(String data) {
		this.data = data;
	}
}
